﻿using Authentication.Model.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Authentication.Model.Interface
{
    public interface IGroupProvider
    {
        IEnumerable<ApplicationGroup> SearchGroups(out int totalRecord, Guid applicationKey, string name = null, int pagesize = 0, int pageindex = 0);

        bool Update(ApplicationGroup obj);

        bool Delete(Guid applicationKey, string GroupId);

        bool Add(ApplicationGroup obj);
    }
}
